projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
666398f
)
* buffer.c (advance_to_char_boundary): Return EMACS_INT, not int.
author
Paul Eggert
<eggert@cs.ucla.edu>
Thu, 9 Jun 2011 00:47:45 +0000
(17:47 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Thu, 9 Jun 2011 00:47:45 +0000
(17:47 -0700)
src/ChangeLog
patch
|
blob
|
history
src/buffer.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index d16a19e15eb21a6d04e87383f5d6085b40ebbcd4..1929638a44249c2b38061209a09e37f5a165f142 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,6
+1,7
@@
2011-06-09 Paul Eggert <eggert@cs.ucla.edu>
* buffer.c (Fgenerate_new_buffer_name): Use EMACS_INT for count, not int.
+ (advance_to_char_boundary): Return EMACS_INT, not int.
* data.c (Qcompiled_function): Now static.
diff --git
a/src/buffer.c
b/src/buffer.c
index 453ea838902b9ae5fe3129821061b670fbd17355..8fdd094a20d8f077a120a4d66f9078c65a34e8d7 100644
(file)
--- a/
src/buffer.c
+++ b/
src/buffer.c
@@
-2038,7
+2038,7
@@
validate_region (register Lisp_Object *b, register Lisp_Object *e)
/* Advance BYTE_POS up to a character boundary
and return the adjusted position. */
-static
int
+static
EMACS_INT
advance_to_char_boundary (EMACS_INT byte_pos)
{
int c;